package service

import (
	"kubeimooc/service/configmap"
	"kubeimooc/service/cronjob"
	"kubeimooc/service/daemonset"
	"kubeimooc/service/deployment"
	"kubeimooc/service/ingress"
	"kubeimooc/service/ingroute"
	"kubeimooc/service/job"
	"kubeimooc/service/node"
	"kubeimooc/service/pod"
	"kubeimooc/service/pv"
	"kubeimooc/service/pvc"
	"kubeimooc/service/sc"
	"kubeimooc/service/secret"
	"kubeimooc/service/statefulset"
	"kubeimooc/service/svc"
)

type ServiceGroup struct {
	PodServiceGroup         pod.PodServiceGroup
	NodeServiceGroup        node.NodeServiceGroup
	ConfigMapServiceGroup   configmap.ConfigMapServiceGroup
	SecretServiceGroup      secret.SecretServiceGroup
	PVServiceGroup          pv.PVServiceGroup
	PVCServiceGroup         pvc.PVCServiceGroup
	SCServiceGroup          sc.SCServiceGroup
	SVCServiceGroup         svc.SVCServiceGroup
	IngressServiceGroup     ingress.IngressServiceGroup
	IngrouteServiceGroup    ingroute.IngrouteServiceGroup
	CronJobServiceGroup     cronjob.CronJobServiceGroup
	JobServiceGroup         job.JobServiceGroup
	DaemonServiceGroup      daemonset.DaemonServiceGroup
	DeploymentServiceGroup  deployment.DeploymentServiceGroup
	StatefulSetServiceGroup statefulset.StatefulSetServiceGroup
}

// 定义全局变量
var ServiceGroupApp = new(ServiceGroup)
